<?php

class TrafficDealer extends TrafficPNJ {

	public $drug_type;

	public $tmp_price;
	public $tmp_rdv_zone;
	public $tmp_rdv_date;
	public $tmp_quantity;

	public function __construct() {
		$this->drug_type = TrafficDrugUtils::SHIT;
	}

	// Les prix en texte
	public function getNormalPrice($level_modifier = 0) {
		return TrafficDrugUtils::get($this->drug_type)->getPriceByLevel(round($this->level) + $level_modifier, $this->price_level);
	}

	public function getHighPrice($level_modifier = 0) {
		return TrafficDrugUtils::get($this->drug_type)->getPriceByLevel(round($this->level) + $level_modifier, $this->price_level+1);
	}

	public function getLowPrice($level_modifier = 0) {
		return TrafficDrugUtils::get($this->drug_type)->getPriceByLevel(round($this->level) + $level_modifier, $this->price_level-1);
	}

	public function getType() {
		return 'dealer';
	}
}

?>